package file;

public class ClubRecruitment {
    public static void main(String[] args) {
        //定义数组存储编程社团报名学生号
        String[] programClubStudents = {"2025001","2025002","2025003","2025004","2025005","2025006","2025007"};
        int total = 0; //记录人数

        //普通for循环：遍历数组，统计人数
        for (int i = 0;i < programClubStudents.length;i++) {
            System.out.println("报名学号:"+programClubStudents[i]);
            total++; //每次循环人数+1
        }

        System.out.println("编程社团报名总人数:"+total);
    }
}
